package com.hc.middleware.mybatis;

import java.util.List;

/**
 * <h1></h1>
 *
 * @Classname SqlSession
 * @Description
 * @Date 2022/6/1 下午10:38
 * @Created by idiotHU
 */
public interface SqlSession {

    <T> T selectOne(String statement);

    <T> T selectOne(String statement, Object parameter);

    <T> List<T> selectList(String statement);

    <T> List<T> selectList(String statement, Object parameter);

    void close();
}

